package com.dq.domain.sys.user;

import com.dq.vo.baseVo.VO;
import com.dq.domain.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;

/**
 * @author liuhui
 * @date 2019/11/23 0023 15:14:33
 */
@Data
@Entity
@ApiModel("喜好")
public class Hobby extends BaseEntity implements VO.ToVO {

    @ApiModelProperty("喜好标签名称")
    protected String name;

    @ApiModelProperty("排序")
    protected Long sort;

    @Data
    @ApiModel(value = "喜好视图")
    public static class Vo implements VO {
    }
    @Override
    public VO toVO(boolean isRecursion) {
        Vo vo=new Vo();
        return vo;
    }

}
